import type { PromiseType } from '#types/utils.d'

import SysUserApi from '#/api/system/user'

export const PageApi = SysUserApi.inst

type TableList = PromiseType<ReturnType<typeof PageApi.getPageList>>['records']
export type TableListItem = TableList[number]
